package com.ycfmedical.bed.present;

import com.ycfmedical.bed.bean.TextContent;
import com.ycfmedical.bed.ui.fragment.DiagnosisRecordsFragment;

import java.util.ArrayList;
import java.util.List;

import cn.droidlover.xdroidmvp.mvp.XPresent;

/**
 * Created by yf on 2017-05-01.
 */

public class DiagnosisRecordsPresent extends XPresent<DiagnosisRecordsFragment>{
    public void loadData(){
        List<TextContent> neiJingDiacrisisList=new ArrayList<>();//内镜
        List<TextContent> diacrisisDiscribeList=new ArrayList<>();// 诊断描述
        diacrisisDiscribeList.add(new TextContent("食管","未见异常",-1));
        diacrisisDiscribeList.add(new TextContent("胃体","黏膜红白相间，以红为主",-1));
        diacrisisDiscribeList.add(new TextContent("胃角","形态正常，光滑，弧度存在",-1));
        diacrisisDiscribeList.add(new TextContent("胃窦","黏膜红白相间，以红为主，胃窦可见点片糜烂",-1));
        diacrisisDiscribeList.add(new TextContent("幽门","圆，开闭好",-1));
        diacrisisDiscribeList.add(new TextContent("十二指肠","球状黏膜片状充血水肿，降部未见异常",-1));

        neiJingDiacrisisList.add(new TextContent("1","慢性浅表性胃炎",-1));
        neiJingDiacrisisList.add(new TextContent("2","十二指肠球溃烂",-1));
        getV().showdiacrisisDiscribe(diacrisisDiscribeList);
        getV().showneiJingDiacrisis(neiJingDiacrisisList);
    }
}
